package examTest;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;

public class OverLoading {

	/**
	 * @param args
	 * @throws  Exception 
	 */
	public static void main(String[] args) throws  Exception {
		int i=777;
		short s=2221;
		float f=33.4f;
		double d=77777.4;
		long l=77777l;

		Integer I=11111;
		Short S=88;
		Float F=22222f;
		Double D=545554.0;
		Long L=5555l;
		
		go(S);
		
		
		FileReader reader=new FileReader("ddd"); 
		FileWriter writer=new FileWriter("xxx");
		
	}
	 
	public boolean equals(String obj) {
		// TODO Auto-generated method stub
		return super.equals(obj);
	}
	public static void go(Object o){System.out.println("Object");}
	 public static void go(short o){	System.out.println("short");}
	//public static void go(int o){	System.out.println("int");}
	//public static void go(float o){	System.out.println("float");}
	//public static void go(double o){System.out.println("double");}
	//public static void go(long o){System.out.println("long");}
	//public static void go(Short o){	System.out.println("Short");}
	 public static void go(Integer o){System.out.println("Integer");}
	//public static void go(Float o){	System.out.println("Float");}
	public static void go(Double o){System.out.println("Double");}
	//public static void go(Long o){System.out.println("Long");}
}
